import React, { Component } from 'react';
import styles from './Bottom.module.css'
class Index extends Component {
    render() {
        return (
            <div className={styles.content}>
                <button onClick={this.handleClick}>bottom</button>
            </div>
        );
    }
    handleClick = () => {
        this.props.myRun("我是子组件传递的")
    }
}

export default Index;
